package com.whminwei.edu.api.base.client;

import com.whminwei.common.feign.decoder.FullHttpRspnConfig;
import com.whminwei.common.http.rspn.FullHttpResponse;
import com.whminwei.edu.api.base.dto.fspn.SelectFspn;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @author zhangjq
 * @since 2024-08-08
 */
@FeignClient(name = "xzzg-pt-base-service", contextId = "country-info", configuration = FullHttpRspnConfig.class)
public interface CountryClient {

    @PostMapping("/country/getAllList")
    FullHttpResponse<SelectFspn> getAllList();
}
